import { useEffect } from "react";
import nprogress from "nprogress";
import "nprogress/nprogress.css";
function Nprogress(){
   useEffect(()=>{
    nprogress.start();
    return () => {
        nprogress.done();
    }
   })
}
export default Nprogress;